package com.tongtech.system.enums;

/**
 * 用户状态
 *
 * @author tong-support
 */
public enum WorkOrderStatusType
{
    DRAFT("0", "草稿"),
    ALLOCATED("1", "已分配"),
    IN_PROGRESS("2", "进行中"),
    SUSPEND("3", "暂停"),
    COMPLETED("4", "已完成"),
    RESCINDED("5", "已撤销");

    private final String code;
    private final String info;

    WorkOrderStatusType(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
